<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/13
 * Time: 15:20
 */
namespace app\blog\validate;
use think\Validate;
class AgencyValidate extends Validate
{
    protected $rule = [
        'agr_level'  =>'require',
        'money'      =>'require',
        'number'     =>'require',
    ];
    protected $message = [
        'agr_level.require'     =>'等级名称不能为空',
        'money.require'         =>'代理费用不能为空',
        'number.require'        =>'激活码数量不能为空',
    ];
}